package com.patterns.demo.mediator;

import com.patterns.demo.mediator.mediator.Mediator;
import com.patterns.demo.mediator.mediator.MyMediator;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/12/21
 */
public class Test {

    public static void main(String[] args) {

        Mediator mediator = new MyMediator();

        mediator.createMediator();

        mediator.workAll();
    }
}
